package com.ruoyi.admin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;


import java.util.Date;

/**
 * @author ：zzz
 * @date ：Created in 2022/10/25 15:52
 * @description：aaa
 */

public class MaintainVo {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long maintainId;

    /** 描述 */
    @Excel(name = "描述")
    private String describes;

    /** 维修员ID */
    @Excel(name = "维修员ID")
    private Long userId;

    /** 状态1.待修复、2.修复中、3.已修复、4.无法修复 */
    @Excel(name = "状态1.待修复、2.修复中、3.已修复、4.无法修复")
    private Long mainStatue;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mainTime;

    /** 故障ID */
    @Excel(name = "故障ID")
    private Long malfunctionId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String nickName;

    public Long getMaintainId() {
        return maintainId;
    }

    public void setMaintainId(Long maintainId) {
        this.maintainId = maintainId;
    }

    public String getDescribes() {
        return describes;
    }

    public void setDescribes(String describes) {
        this.describes = describes;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getMainStatue() {
        return mainStatue;
    }

    public void setMainStatue(Long mainStatue) {
        this.mainStatue = mainStatue;
    }

    public Date getMainTime() {
        return mainTime;
    }

    public void setMainTime(Date mainTime) {
        this.mainTime = mainTime;
    }

    public Long getMalfunctionId() {
        return malfunctionId;
    }

    public void setMalfunctionId(Long malfunctionId) {
        this.malfunctionId = malfunctionId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "MaintainVo{" +
                "maintainId=" + maintainId +
                ", describes='" + describes + '\'' +
                ", userId=" + userId +
                ", mainStatue=" + mainStatue +
                ", mainTime=" + mainTime +
                ", malfunctionId=" + malfunctionId +
                ", nickName='" + nickName + '\'' +
                '}';
    }
}
